package com.hsqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 老人健康档案表
 * </p>
 *
 * @author lingwenjie
 * @since 2025-11-05
 */
@Getter
@Setter
@TableName("health_record")
public class HealthRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 老人ID
     */
    private Long elderlyId;

    /**
     * 身高(cm)
     */
    private BigDecimal height;

    /**
     * 体重(kg)
     */
    private BigDecimal weight;

    /**
     * 血压
     */
    private String bloodPressure;

    /**
     * 血糖
     */
    private BigDecimal bloodSugar;

    /**
     * 过敏史
     */
    private String allergies;

    /**
     * 慢性病
     */
    private String chronicDisease;

    /**
     * 健康评估
     */
    private String healthEvaluation;

    /**
     * 评估时间
     */
    private LocalDateTime evaluationTime;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;
}
